typedef OnSuccess = void Function(String videoUrl, String fileSize,String coverUrl,String videoId, String sdVideo, String sdStorage);
typedef OnError = void Function(String msg);
typedef OnProgress = void Function(double value, String id, {String? msg});
typedef OnCancel = void Function(String id, String path);
///上传视频回调
class UploadCallback {
  OnSuccess onSuccess;
  OnError onError;
  OnProgress onProgress;
  OnCancel onCancel;

  UploadCallback({required this.onSuccess, required this.onError, required this.onProgress, required this.onCancel});
}
